home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / flilib.zip / FLISRC.ZIP / AAFII.H < prev    next >
C/C++ Source or Header  |  1989-11-17  |  1KB  |  34 lines

  1.  
  2. #ifndef AAFII_H
  3. #define AAFII_H
  4.  
  5. #ifndef AAFLI_H
  6. #include "aafli.h"
  7. #endif /* AAFLI_H */
  8.  
  9. /* Low level decompression functions */
  10. void fii_unbrun(Cbuf *cbuf, Pixel *screen, int linect);    /* 1st frame */
  11. void fii_unlccomp(Cbuf *cbuf, Pixel *screen);        /* delta frames */
  12. void fii_mem_fcuncomp(Cbuf *cbuf, Cmap *cmap);        /* colors to memory */
  13. void fii_reg_fcuncomp(Cbuf *cbuf);                    /* colors to registers */
  14.  
  15. /* Longest run for byte-oriented compression */
  16. #define FLI_MAX_RUN 127
  17.  
  18. /** Low level assembler routines used by fii_lccomp to do a single line **/
  19. /* Find out how far until have the next match of mustmatch or more pixels */
  20. int fii_tnskip(Pixel *s1,Pixel *s2,int bcount,int mustmatch);
  21. /* Find out how far until next run of identical pixels mustmatch long */
  22. int fii_tnsame(Pixel *s,int bcount,int mustmatch);
  23.  
  24. /** Mid level routines to compress 1st frame, delta frames, and color maps **/
  25. /* Run length compress a single frame using Animator 8086 
  26.     1st frame technique */
  27. Cbuf *fii_brun(Pixel *s1,Pixel *s2,USHORT *cbuf,int width,int height);
  28. /* Delta compress a single frame using Animator 8086 byte-oriented scheme */
  29. Cbuf *fii_lccomp(Pixel *s1,Pixel *s2,USHORT *cbuf,int width,int height);
  30. /* fii_fccomp - compress an rgb triples color map doing 'skip' compression */
  31. Cbuf *fii_fccomp(Cmap *s1, Cmap *s2, USHORT *cbuf, int count);
  32.  
  33. #endif /* AAFII_H */
  34.